#ifndef PHYSICSCALCULATIONS_H
#define PHYSICSCALCULATIONS_H

#include "Timer.h"

#include <D3D11.h>
#include <D3DX10math.h>

enum POSCALCULATION
{
	EULER = 0x00,
	VERLET = 0x01
};

// Verlet 
void CalculatePositionV(D3DXVECTOR3& currentPosition, D3DXVECTOR3& oldPosition, const D3DXVECTOR3& acceleration);

// Euler
void CalculatePositionE(D3DXVECTOR3& currentPosition, D3DXVECTOR3& oldVelocity, D3DXVECTOR3& velocity, const D3DXVECTOR3& acceleration);

// D'Alembert's
void CalculateForce(D3DXVECTOR3& currentForce, const D3DXVECTOR3& actingForce);

#endif //PHYSICSCALCULATIONS_H